package net.neptech.service.impl;

import net.neptech.model.PaymentRecordDTO;
import net.neptech.model.order.PaymentRecord;
import net.neptech.repository.PaymentRecordRepository;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PaymentRecordServiceImpl {

    @Autowired
    public PaymentRecordRepository paymentRecordRepository;

    /**
     * 创建支付详细
     * @param paymentRecord
     */
    public  void createPaymentRecord(PaymentRecord paymentRecord) {
        PaymentRecord save = paymentRecordRepository.save(paymentRecord);
    }
}
